#include<iostream>
#include <sys/types.h>
#include <signal.h>
using namespace std;

//./mykill -2 pid
int main(int argc,char* argv[])
{
    if(argc!=3)
    {
        cout<<"usage: "<<"signum + pid "<<endl;
        exit(0);
    }
    int signum=stoi(argv[1]);
    pid_t id=stoi(argv[2]);
    kill(id,signum);

    return 0;
}